package net.minecraft.src;

import net.minecraft.src.J_Functor;
import net.minecraft.src.J_JsonNodeDoesNotMatchChainedJsonNodeSelectorException;

abstract class J_LeafFunctor implements J_Functor {

   J_LeafFunctor() {
      super();
   }

   public final Object func_27059_b(Object var1) {
      if(!this.func_27058_a(var1)) {
         throw J_JsonNodeDoesNotMatchChainedJsonNodeSelectorException.func_27322_a(this);
      } else {
         return this.func_27063_c(var1);
      }
   }

   protected abstract Object func_27063_c(Object var1);
}
